package com.platform.pojo;

import java.util.Date;

public class UserRole {
    private Integer id;

    private String roleCode;

    private String username;

    private Date createTime;

    private Date updateTime;

    public UserRole(Integer id, String roleCode, String username, Date createTime, Date updateTime) {
        this.id = id;
        this.roleCode = roleCode;
        this.username = username;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public UserRole() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}